package com.kakaxi.mybilibili.utils;

import java.util.List;

/**
 * 帮助计算的工具类
 * Created by kakaxi on 16/10/17.
 */

public class CountUtil {

    /**
     * 数组大小计算
     * @param list 数组
     * @return
     */
    public static int listSizeCount(List list) {
        if (list == null) {
            return 0;
        } else {
            return list.size();
        }
    }

}
